﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Tank.Properties;

namespace Tank
{
    /// <summary>
    /// 石块类
    /// </summary>
    public class Stone : Barrier
    {
        private static Image img = Resources.淡蓝石砖;

        public Stone(int x, int y)
            :base(x, y, img.Width, img.Height)
        {
        }

        public override void Draw(Graphics g)
        {
            g.DrawImage(img,this.X, this.Y);
        }
    }
}
